home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
LIBRARY
/
TOT
/
DEMO.EXE
/
arc
/
DEMIO11.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-02-10
|
541b
|
30 lines
program DemoIOEleven;
{demIO11 - single Radio Button input}
Uses DOS, CRT,
totFAST, totINPUT, totIO1, totIO2;
Var
Bool: RadioIOOBJ;
begin
ClrScr;
with Bool do
begin
Init(35,12,20,5,'Sex?');
SetBoxOn(True);
AddItem('~M~ale',77,true);
AddItem('~F~emale',70,false);
Mouse.Show;
Activate;
Mouse.Hide;
gotoxy(1,20);
if GetValue = 1 then
writeln('You are male!')
else
writeln('Hi, I''m Bob.');
Done;
end;
end.